package com.ld.security.auth.common.base.entity;

import com.ld.security.common.core.base.column.ListString;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.mybatis.base.entity.SuperEntity;
import com.ld.security.common.mybatis.constant.SqlCondition;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class JwtScope extends SuperEntity {

    @ApiModelProperty("修改范围")
    @SqlKey(SqlCondition.like_many)
    private ListString funcSave;

    @SqlKey(SqlCondition.like_many)
    @ApiModelProperty("查询范围")
    private ListString funcQuery;

    @SqlKey(SqlCondition.like_many)
    @ApiModelProperty("删除范围")
    private ListString funcRemove;

    @ApiModelProperty("目标表")
    @SqlKey
    private String funcTable;

}
